package ge.telasi.tasks;

/**
 * Recognized exception format.
 * 
 * @author dimitri
 */
public class TaskException extends RuntimeException {
    static final long serialVersionUID = 924681576635252789L;

    private String field;

    public TaskException(String message) {
        this(message, null);
    }

    public TaskException(String message, String field) {
        super(message);
        setField(field);
    }

    public String getField() {
        return field;
    }

    public void setField(String field) {
        this.field = field;
    }

}
